﻿using System.Windows.Controls;
using System.Windows.Interactivity;

namespace CPN.PJN.Silverlight.UI.Interactions.Actions
{
    public class SetFocusAction : TargetedTriggerAction<Control>
    {
        protected override void Invoke(object parameter)
        {
            if (Target != null) Target.Focus();
        }
    }
}
